Skip to main content

filename

Type

property

Summary

Specifies the file associated with the user's avatar image.

Syntax

set the filename of widget to <filePath>
get the filename of widget

Description

The filename of an image specifies a file path. A file path specifies the name and location of the file. If you specify a name but not a location, LiveCode assumes that the file or relative paths are from the default folder or the folder in which the stack is saved. By default, the filename property of newly created "Circle Avatar" widgets is empty.

Parameters

NameTypeDescription

filename

The filename of an image specifies a file path. A file path specifies the name and location of the file. If you specify a name but not a location, LiveCode assumes that the file or relative paths are from the default folder or the folder in which the stack is saved. By default, the filename property of newly created "Circle Avatar" widgets is empty.

Examples

set the filename of widget "Circle Avatar" to "/HD/Projects/blipvert.gif"

Compatibility and Support

OS

mac

windows

linux

ios

android

web

Platforms

desktop

mobile

web